<script>
    window.opener.RegisterFinish();
    window.close();
</script>